class Error(Exception):
    """Base class for exceptions in this module."""
    pass

class AuthorizationException(Error):
    def __init__(self, msg, twitter_user):
        self.twitter_user = twitter_user
        self.msg = msg
    
    def __str__(self):
        return repr('(%s) %s' % (self.twitter_user, self.msg))